-- GENERATED SPELL FOR [Champion Lightrend] --


function spell0_17810(pUnit, Event) --@Seal of Justice,Self--
pUnit:FullCastSpellOnTarget(20164,pUnit)
pUnit:RegisterEvent('Sorts_17810', 665, 1)
end

function Sorts_17810(pUnit, Event)
local choix_sorts_17810 = math.random(0, 0)
if choix_sorts_17810 == 0 then
pUnit:RegisterEvent('spell0_17810', 1, 1)
end
end

function mob17810_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_17810', math.random(1500, 3000), 1)
end

function mob17810_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob17810_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob17810_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(17810, 1, 'mob17810_Action')
RegisterUnitEvent(17810, 2, 'mob17810_Leave')
RegisterUnitEvent(17810, 3, 'mob17810_Kill')
RegisterUnitEvent(17810, 4, 'mob17810_Die')
